package com.dzqc.fly.db.dao;

import com.dzqc.fly.db.pojo.AppFilePojo;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Set;

@Mapper
public interface TbLeaveDao {

    public int insertleave(HashMap param);

    public int insertleaveshenpi(HashMap param);

    int insertfiles(AppFilePojo appFilePojo);

    public ArrayList<HashMap> searchLeaveList(HashMap param);

    public long searchLeaveListCount(HashMap param);

    public LinkedList<HashMap> searchLeaveDetailFiles(HashMap param);

    public HashMap searchLeaveDetail(HashMap param);

    public ArrayList<HashMap> searchLeaveListDone(HashMap param);

    public long searchLeaveListCountDone(HashMap param);

    public LinkedList<HashMap> searchMonth(int userId);

    public LinkedList<HashMap> searchNumOfStudentLeave(HashMap param);

    public int updateUnfinishedLeaveStatus(HashMap param);

    public HashMap searchLeaveDetail2FinishedLeave(HashMap param);

    public int updateFinishedLeave(HashMap param);

    public int updateLapseLeave(HashMap param);
}
